<h1>Listing library_departments</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Commercial adress</th>
    <th>Postal adress</th>
    <th>Phone</th>
    <th>Url</th>
    <th>Shipping cost</th>
    <th>Discount</th>
    <th>Cboxp</th>
    <th>Cboxt</th>
    <th>Cboxc</th>
    <th>Library</th>
    <th>City</th>
    <th>Currency</th>
  </tr>

<% @library_departments.each do |library_department| %>
  <tr>
    <td><%=h library_department.name %></td>
    <td><%=h library_department.commercial_adress %></td>
    <td><%=h library_department.postal_adress %></td>
    <td><%=h library_department.phone %></td>
    <td><%=h library_department.url %></td>
    <td><%=h library_department.shipping_cost %></td>
    <td><%=h library_department.discount %></td>
    <td><%=h library_department.cboxp %></td>
    <td><%=h library_department.cboxt %></td>
    <td><%=h library_department.cboxc %></td>
    <td><%=h library_department.library %></td>
    <td><%=h library_department.city %></td>
    <td><%=h library_department.currency %></td>
    <td><%= link_to 'Show', library_department %></td>
    <td><%= link_to 'Edit', edit_library_department_path(library_department) %></td>
    <td><%= link_to 'Destroy', library_department, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New library_department', new_library_department_path %>